package it.omnisong.client.model;

import com.extjs.gxt.ui.client.data.BaseModel;

@SuppressWarnings("serial")
public class StockSong extends BaseModel {
	
	public StockSong() {
		
	}
	
	public StockSong(String artist, String wikilink, String title, String lyric) {
		set("artist", artist);
	    set("wikilink", wikilink);
	    set("title", title);
	    set("lyric", lyric);
	}
	
	public String getArtist() {
		return (String) get("artist");
	}

	public String getTitle() {
		return (String) get("title");
	}
	
	public String getLyric() {
		return (String) get("lyric");
	}

	public String getWikilink() {
		return (String) get("wikilink");
	}

	public String toString() {
		return getArtist();
	}

}
